package edu.sctu.practice.class01.fengleilin.assign01;

/**
 * Created by fll on 2015/9/24.
 */
public class CalculatorMain {

    public static void main(String[] args) {

        CalculatorTest calculatorTest1 = new CalculatorTest();
        calculatorTest1.color = "black";
        calculatorTest1.model = 001;
        calculatorTest1.screen = "LED";
        calculatorTest1.size = "small";
        calculatorTest1.power = "battery";

        CalculatorTest calculatorTest2 = new CalculatorTest();
        calculatorTest2.color = "white";
        calculatorTest2.model =002;
        calculatorTest2.screen = "LCD";
        calculatorTest2.size = "middle";
        calculatorTest2.power = "solar panel";

        CalculatorDemo calculatorDemo = new CalculatorDemo();
        calculatorDemo.addNumber();
        calculatorDemo.divideNumber();
        calculatorDemo.multiplyNumber();
        calculatorDemo.subtractNumber();

        System.out.println(calculatorTest1.color);
    }
}
